﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Security;

namespace MotaWeb.Tests.MockSupport
{
    public class MockMembershipUser : MembershipUser
    {
        public MockMembershipUser()
        {
        }

        public MockMembershipUser(string name, Object providerUserKey, string email, string passwordQuestion)
            : base("AspNetSqlMembershipProvider", name, providerUserKey, email, passwordQuestion, string.Empty, true, false, DateTime.Now, DateTime.Now, DateTime.Now, DateTime.Now, DateTime.Now.AddDays(-10))
        {
        }

        public override bool ChangePassword(string oldPassword, string newPassword)
        {
            return newPassword.Equals("newPass");
        }
    }
}
